#!/usr/bin/env python

"""
/* radar_target.py - it's a radar UI game based on diversity-daemon 
 *
 * Copyright 2009 
 * Authored by Erin Yueh <erinyueh@gmail.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 *
 */
"""

class TARGET:

 def __init__(self,name):
         self.name = name

 def set_coordinate(self,x,y):
         self.x = x
         self.y = y
         return True

 def set_UI_coordinate(self,x,y):
         self.UI_x = x
         self.UI_y = y
         return True
        
 def set_degree(self,degree):
         self.degree = degree
         return True
        
 def set_distance(self,distance):
         self.distance = distance
         return True
 
 def set_description(self,description):
         self.description = description
         return True
 
 def get_description(self, name):
        return  self.description

 def get_degree(self, name):
        return  self.degree

 def get_coordinate(self, name):
       return  self.x, self.y
       
 def get_UI_coordinate(self, name):
       return  self.UI_x,self.UI_y
       
 def get_distance(self, name):
	return  self.distance
